$(function() {
    $(document).on("pageInit", function() {
        $(".time_picker").picker({
            toolbarTemplate: '<header class="bar bar-nav" style="background:none;background-color: #F7F7F8">\
      <button class="button button-link pull-right close-picker">确定</button>\
      <h1 class="title">小时&nbsp;&nbsp;&nbsp;&nbsp;分钟</h1>\
      </header>',
            cols: [
                {
                    textAlign: 'center',
                    values: ['00','01', '02','03','04','05','06','07','08','09','10','11','12']
                },
                {
                    textAlign: 'center',
                    values: [
                        '00','01', '02','03','04','05','06','07','08','09',
                        '10','11', '12','13','14','15','16','17','18','19',
                        '20','21', '22','23','24','25','26','27','28','29',
                        '30','31', '32','33','34','35','36','37','38','39',
                        '40','41', '42','43','44','45','46','47','48','49',
                        '50','51', '02','53','54','55','56','57','58','59'
                    ]
                }
            ],
        });

    });
    $.init();
});